package org.springblade.mes.logistics.area.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.mes.logistics.area.entity.InventoryArea;
import org.springblade.mes.logistics.area.model.InventoryAreaBean;

import java.util.List;

@DS("logistics")
public interface InventoryAreaMapper extends BaseMapper<InventoryArea> {

    List<InventoryAreaBean> queryList(@Param("entity") InventoryAreaBean entity);

    List<InventoryAreaBean> queryPageList(IPage page, @Param("entity") InventoryAreaBean entity);

}
